package com.cloud.salon.client.business.repository;

import com.cloud.salon.common.base.entity.business.Payment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/*
 * @Description 付款仓库接口
 * @Author wolf--LZH
 * @CreateDate 2019/4/26 0026 下午 9:59
 */
public interface PaymentRepository extends JpaRepository<Payment, Integer> {

    /*
     * @Description 通过记录获取对应的支付
     * @Author wolf--LZH
     */
    List<Payment> findByRecordId(Integer recordId);
}